﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;
using Hydra.Shell.Interfaces;

namespace Hydra.Shell
{
    [DataContract, Serializable]
    public class HydraPackageListItem : IHydraPackageListItem
    {
        [DataMember, Key]
        public Guid PackageGuid { get; set; }
        [DataMember]
        public string FileName { get; set; }
        [DataMember]
        public DateTime ModifiedDate { get; set; }
        [DataMember]
        public bool Cached { get; set; }

        public HydraPackageListItem()
        {
        }

        public HydraPackageListItem(Guid packageGuid)
        {
            this.PackageGuid = packageGuid;
        }
    }
}
